#ifndef CFLYOBJECT_H

#define CFLYOBJECT_H

#include "Typedef.h"
#include "CBuilding.h"

class CFlyObject
{
public :
						CFlyObject(void);
	virtual				~CFlyObject(void);

	virtual		void	put(void) = 0;

	virtual		int		run(void) = 0;

protected :
	int		m_nX;
	int		m_nY;
	int		m_nTargetX;
	int		m_nDamage;
	int		m_nNumber;
	int		m_nNowTime;
	int		m_nFinalTime;
	int		m_nAttack_Effect_Delay;
	int		m_nAttack_Effect_Delay_X;

	ls_Unit*	m_pEnumy;

	ls_Unit::iterator	m_itr;

	CBuilding* m_pEnumyBuilding;
};

#endif